
import java.io.PrintWriter;

class WhileStatement extends Statement {

	private Node exp_;
	private Node stat_list_;

	public WhileStatement(Node e, Node ss) {
		exp_ = e;
		stat_list_ = ss;
	}

	@Override
	public void print(PrintWriter pw) {
		pw.println("Node name : WhileStatement");
		// assert( exp_ && stat_list_);
		exp_.print(pw);
		if (stat_list_ != null) {
			stat_list_.print(pw);
		}
	}	

}
